<%#
# index.rhtml
# 
# Created on 2007-8-24, 11:06:51
# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--

Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Title      : StandardIssue
Version    : 1.0
Released   : 20070723
Description: A two-column, fixed-width and lightweight template ideal for 1024x768 resolutions. 
Suitable for blogs and small websites.

-->
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>简单化</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <%=stylesheet_link_tag "default"%>
    <!--highslide的配置-->
    <%= javascript_include_tag "highslide/highslide.js" %>
    <script type="text/javascript">
      
      // remove the registerOverlay call to disable the controlbar
      hs.registerOverlay(
      {
      thumbnailId: null,
      overlayId: 'controlbar',
      position: 'bottom right',
      hideOnMouseOut: true
      }
      );
      
      hs.graphicsDir = '/javascripts/highslide/graphics/';
      hs.outlineType = 'rounded-white';
    </script>
    <%= stylesheet_link_tag "highslide" , :media => "all" %>
  </head>
  <body>
    <!-- start header -->
    <div id="admin">
      <%=admin_info%>
    </div>
    <div id="header">
      <div id="logo">
        <h1>
          <a href="/index">简单化<sup>休闲服饰</sup></a>
        </h1>
        <h2>http://jiandanhua.cn</h2>
      </div>
      <div id="menu">
        <ul>
          <li class="active"><a href="/index"><%=_("Home")%></a></li>
          <li><a href="/album"><%=_("Album")%></a></li>
          <li><a href="/blog"><%=_("Blog")%></a></li>
          <li><a href="/guestbook"><%=_("GuestBook")%></a></li>
          <li><a href="/contact"><%=_("Contact Us")%></a></li>
        </ul>
      </div>
    </div>
    <!-- end header -->
    <!-- start page -->
    <div id="page">
      <!-- start content -->
      <div id="content">
        <div class="box1">
          <p><img src="images/img04.jpg" alt="" width="74" height="79" class="left" />
            上海<strong>简单化服饰</strong>主营休闲女装的批发兼零售,包括棉类
            及混纺的各类T恤\针织衫\毛衫\运动服等等，
            年龄定位在15-30岁的年轻女性,产品销往国内各大中型商场\服装超市等,
            欢迎各地客商前来选购.
          </p>
        </div>
        <!--start of album-->
        <%=render :partial=>'/album/list_albums',:object=>@albums%>
        <table width="550">
          <tr align=right>
            <td height=40 align=right>
              <%=link_to "更多", {:controller=>:album} %>
            </td>
          </tr>
        </table>
        <!--end of album-->
        <!--start of blog-->
        <%=render(:partial=>'blog/list', :object=>@blogs)%>
          <!--end of blog-->
        </div>
        <!-- end content -->
        <!-- start sidebar -->
        <div id="sidebar">
          <ul>
            <li id="search">
              <h2><b>店长信息</b></h2>
              <table width="100%" cellspacing="0" cellpadding="0" border="0">
                <tbody>
                  <tr> <td width="20%"><b>邮箱:</b></td><td> jiandanhua at gmail dot com</td> </tr>
                  <tr><td><b>城市:</b></td><td>上海</td> </tr>
                  <tr>
                    <td><b>简介:</b></td>
                    <td>QQ:498210478
                    <br/>贸易通:merchandiser007                      
                  </tr>                 
                </tbody>
              </table>
            </li>
            <li>
              <h2>最新消息</h2>
              <ul>
                <li><a href="#">新款男式Tshirt到货</a></li>
                <li><a href="#">Eget tempor eget nonummy</a></li>
              </ul>
            </li>
          </ul>
        </div>
        <!-- end sidebar -->
        <div style="clear: both;">&nbsp;</div>
      </div>
      <!--highslide controller-->
      <div id="controlbar" class="highslide-overlay controlbar">
        <a href="#" class="previous" onclick="return hs.previous(this)" title="Previous (left arrow key)"></a>
        <a href="#" class="next" onclick="return hs.next(this)" title="Next (right arrow key)"></a>
        <a href="#" class="highslide-move" onclick="return false" title="Click and drag to move"></a>
        <a href="#" class="close" onclick="return hs.close(this)" title="Close"></a>
      </div>
      <!-- end page -->
      <!-- start footer -->
      <div id="footer">
        <p id="legal">
          (c) 2007 简单化服饰（http://jiandanhua.cn）
          CSS模板由
          <a href="http://www.nodethirtythree.com/">NodeThirtyThree</a> 
          和<a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.
          设计
        </p>
      </div>
      <!-- end footer -->
    </body>
  </html>
